home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / wb / czesc_1 / autostart / install < prev    next >
Text File  |  1995-03-05  |  2KB  |  67 lines

  1. (set @default-dest "SYS:Prefs")
  2.  
  3. (if (< (getversion "exec.library" (resident)) (* 37 65536))
  4.     (abort "AutoStart requires Workbench 2.0 or higher")
  5. )
  6.  
  7. (copylib
  8.     (prompt "Copying AutoStart Preferences")
  9.     (help "This is the Preferences program for AutoStart.  It is copied to your SYS:Prefs drawer." )
  10.     (source "Prefs/AutoStart")
  11.     (dest "SYS:Prefs")
  12.     (confirm)
  13.     (infos)
  14. )
  15.  
  16. (complete 20)
  17.  
  18. (copylib
  19.     (prompt "Copying AutoStart Program Launcher")
  20.     (help "This launcher must be in the WbStartup drawer to launch the programs when Workbench starts." )
  21.     (source "WbStartup/AutoStartup")
  22.     (dest "SYS:WbStartup")
  23.     (confirm)
  24.    (infos)
  25. )
  26.  
  27. (complete 40)
  28.  
  29. (delete "HELP:AutoStart.guide")
  30.  
  31. (set dohelp
  32.     (askbool
  33.         (prompt "Do you want to install the AmigaGuide documentation?")
  34.         (help "The AmigaGuide documentation must be installed in the HELP: directory for on-line help to be available." )
  35.         (default 1)
  36.     )
  37. )
  38.  
  39. (if (= dohelp 1)
  40.    (makedir "HELP:Plus")
  41. )
  42. (if (= dohelp 1)
  43.     (copyfiles
  44.         (prompt "Copying AutoStart Documentation")
  45.         (help "The HELP: assign must already exist.  Under Workbench 2.1 and above, this is assigned to 'LOCALE:Help'." )
  46.         (optional nofail)
  47.         (source "AutoStart.guide")
  48.         (dest "HELP:Plus")
  49.         (confirm)
  50.       (infos)
  51.     )
  52. )
  53.  
  54. (complete 80)
  55.  
  56. (copylib
  57.     (prompt "Installing systemplus.library")
  58.     (help "This toolkit library is needed by several different utilities. ")
  59.     (source "libs/systemplus.library")
  60.     (dest "LIBS:")
  61.     (confirm)
  62. )
  63.  
  64. (makedir "SYS:Prefs/Plus")
  65. (rename "SYS:Prefs/AutoStart.prefs" "SYS:Prefs/Plus/AutoStart.prefs")
  66.  
  67. (complete 100)